package bai5.service.implement;

import java.text.SimpleDateFormat;
import java.util.Scanner;

import bai3.App;
import bai5.model.Project;
import bai5.service.ProjectAPI;

public class ProjectDAO implements ProjectAPI {

	public boolean isValiDate(String date) {
		SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
		try {
			dateFormat.setLenient(false);
			dateFormat.parse(date);
			return true;
		} catch (Exception e) {
			return false;
		}
	}

	

}
